<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AvailabilityCheck.aspx.cs"
    Inherits="AvailabilityCheck" meta:resourcekey="Page" Culture="auto" UICulture="auto" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="content-type" content="application/xhtml+xml; charset=windows-1251" />
</head>
<body style="background-color: #fff; background-image:none">
    <form id="form1" runat="server">
    <div style="text-align: left">
    <div style="padding:5px 5px">
        <div class="float_left">
            <asp:Image ID="SuccessImage" Visible="False" SkinID="SuccessImage" runat="server" />
            <asp:Image ID="ErrorImage" Visible="False" SkinID="ErrorImage" runat="server" />
            <asp:Image ID="WarningImage" Visible="False" SkinID="WarningImage" runat="server" />
        </div>
        <asp:Literal ID="ErrorMessage" runat="server" />
        <asp:Literal ID="AvailabilityMessage" runat="server" />
    </div>
        <br />
        <asp:ListView ID="AvailableList" runat="server">
            <LayoutTemplate>
                <div>
                    <asp:PlaceHolder ID="itemPlaceholder" runat="server" />
                </div>
            </LayoutTemplate>
            <ItemTemplate>
                <div style="border-bottom: solid 1px gray; text-align: left">
                    <asp:CheckBox Enabled="False" runat="server" Checked='<%# Eval("IsAvailable") %>' />
                    <asp:Literal runat="server" Text='<%# Eval("Shop") %>' />
                </div>
            </ItemTemplate>
        </asp:ListView>
    </div>
    </form>
</body>
</html>
